<script>
export default {
    name: "GoodsList",
    props:["goodsList","title","cl"]
}
</script>

<template>
    <div>
        <h3 :style="{color:cl}">{{title}}</h3>
        <div v-for="item in goodsList" :key="item.id">
            <p>{{item.goodsName}}</p>
        </div>
    </div>

</template>

<style scoped>

</style>